package cn.wp.org.mapper;

import cn.wp.basic.mapper.BaseMapper;
import cn.wp.org.domain.Department;

import java.util.List;

public interface DepartmentMapper extends BaseMapper<Department>{
    /**
     * 批量删除
     * @param ids
     */
    void patchDel(List<Long> ids);

    /**
     * 加载部门树
     * @return
     */
    List<Department> getDeptTree();
}
